cmake_minimum_required(VERSION 2.8)

set(BUILD_PROJECT_NAME "cmake_settings")

set(SRC_LIST
  ${CMAKE_CURRENT_SOURCE_DIR}/global_environment_settings.cmake
  ${CMAKE_CURRENT_SOURCE_DIR}/win_vs2017_environment_settings.cmake
  ${CMAKE_CURRENT_SOURCE_DIR}/ubuntu64_environment_settings.cmake
  ${CMAKE_CURRENT_SOURCE_DIR}/cmake_main.cpp
)

source_group(${BUILD_PROJECT_NAME} FILES
  ${CMAKE_CURRENT_SOURCE_DIR}/global_environment_settings.cmake
  ${CMAKE_CURRENT_SOURCE_DIR}/win_vs2017_environment_settings.cmake
  ${CMAKE_CURRENT_SOURCE_DIR}/ubuntu64_environment_settings.cmake
  ${CMAKE_CURRENT_SOURCE_DIR}/cmake_main.cpp
)

add_executable(${BUILD_PROJECT_NAME} ${SRC_LIST})